package com.aiwiown.face.domain.orc;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

import java.math.BigDecimal;

/**
 * @ClassName : Main
 * @Description : 驾照正面
 * @Author : dbin0123
 * @Date: 2020年4月13日10:19:09
 */
public class OCRDriverLicenseV2Main extends ApiObject {

    private static final long serialVersionUID = 8741592899375714685L;

    /**
     * 返回驾驶证正本置信度，值为一个 [0,100] 的浮点数，小数点后 3 位有效数字，仅正式用户设置return_score值为1时返回。
     */
    @ApiField("confidence")
    private BigDecimal confidence;
    /**
     * 驾驶证正本版本及其置信度
     */
    @ApiField("valid_from")
    private DataText validFrom;
    /**
     * 姓名置信度
     */
    @ApiField("name")
    private DataText name;
    /**
     * 性别置信度
     */
    @ApiField("gender")
    private DataText gender;
    /**
     * 住址及其置信度
     */
    @ApiField("address")
    private DataText address;
    /**
     * 签发机关及置信度
     */
    @ApiField("issued_by")
    private DataText issuedBy;
    /**
     * 初次领证日期及置信度
     */
    @ApiField("issue_date")
    private DataText issueDate;
    /**
     * 生日及其置信度
     */
    @ApiField("birthday")
    private DataText birthday;
    /**
     * 有效日期及置信度
     */
    @ApiField("valid_for")
    private DataText validFor;
    /**
     * 驾驶证正本版本及其置信度
     */
    @ApiField("version")
    private DataText version;
    /**
     * 驾驶证置信度
     */
    @ApiField("license_number")
    private DataText licenseNumber;
    /**
     * 国籍及置信度
     */
    @ApiField("nationality")
    private DataText nationality;
    /**
     * 有效期限及置信度
     */
    @ApiField("valid_date")
    private DataText validDate;

    /**
     * 准驾车型及其置信度
     */
    @ApiField("class")
    private DataText classData;

    public BigDecimal getConfidence() {
        return confidence;
    }

    public void setConfidence(BigDecimal confidence) {
        this.confidence = confidence;
    }

    public DataText getValidFrom() {
        return validFrom;
    }

    public void setValidFrom(DataText validFrom) {
        this.validFrom = validFrom;
    }

    public DataText getName() {
        return name;
    }

    public void setName(DataText name) {
        this.name = name;
    }

    public DataText getGender() {
        return gender;
    }

    public void setGender(DataText gender) {
        this.gender = gender;
    }

    public DataText getAddress() {
        return address;
    }

    public void setAddress(DataText address) {
        this.address = address;
    }

    public DataText getIssuedBy() {
        return issuedBy;
    }

    public void setIssuedBy(DataText issuedBy) {
        this.issuedBy = issuedBy;
    }

    public DataText getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(DataText issueDate) {
        this.issueDate = issueDate;
    }

    public DataText getBirthday() {
        return birthday;
    }

    public void setBirthday(DataText birthday) {
        this.birthday = birthday;
    }

    public DataText getValidFor() {
        return validFor;
    }

    public void setValidFor(DataText validFor) {
        this.validFor = validFor;
    }

    public DataText getVersion() {
        return version;
    }

    public void setVersion(DataText version) {
        this.version = version;
    }

    public DataText getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(DataText licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public DataText getNationality() {
        return nationality;
    }

    public void setNationality(DataText nationality) {
        this.nationality = nationality;
    }

    public DataText getValidDate() {
        return validDate;
    }

    public void setValidDate(DataText validDate) {
        this.validDate = validDate;
    }

    public DataText getClassData() {
        return classData;
    }

    public void setClassData(DataText classData) {
        this.classData = classData;
    }
}
